Skip to main content

FlowDeleteDocument

Represents a workflow step for deleting documents in the system.

Properties

NameDescription
KeyA unique identifier for the workflow step.
WorkflowCodeInstanceThe workflow code instance associated with the flow object.
CachedDMObjectsThe cached document management objects related to the flow object.
TypeCodeThe type code associated with the flow object.
NameName for the workflow step.
DocumentsRepresents the list of documents to be deleted.
CaptionThe caption dictionary representing localized captions for the flow object.

Constructors

NameDescription
FlowDeleteDocument(name, workflowData, workflowCodeInstance)Constructor for the FlowDeleteDocument class. Initializes a new instance of the FlowDeleteDocument class.
FlowDeleteDocument(name, workflowData, workflowCodeInstance)Initializes a new instance of the FlowDeleteDocument class.

Methods

NameDescription
Initialize()Initializes the current workflow step.
DeleteDocuments()Deletes the documents specified in the Documents list.
DeleteDocument(flowDocument)Deletes a specific document.

Events

NameDescription
OnBeforeExecution(sender, args)Occurs before the execution of the workflow step.
OnAfterExecution(sender, args)Occurs after the execution of the workflow step.

Generic Types

NameDescription
TPropertiesGeneric type of properties.